CXX = g++

OBJS = main.o utils.o skeletonExporter.o skeletonLoader.o skeleton.o bone.o motionLoader.o motion.o

NAME = mocapSimplifier

SRC   = $(OBJ:.o=.cpp)

CXXFLAGS    = -O3

#LIBS = -lglu32 -lopengl32 -lglut32
LIBS = -lGLU -lGL -lglut

first: $(OBJS)
	$(CXX) $(CXXFLAGS) -o $(NAME) $(OBJS) $(LIBS)

clean:
	rm -f *.o *~ .depend

all: clean first
